import request from '@/utils/request'

export default {
    //获取轮播图分页列表
    getCurrentSettingShow() {
        return request({
            url: `/generalSettings/select`,
            method: 'post'
        })
    },
    
    submitSettingShow(currentSetting) {
        return request({
            url: `/generalSettings/update`,
            method: 'post',
            data: currentSetting
        })
    },

    getCurrentAboutUsShow() {
        return request({
            url: `/briefIntroduction/select`,
            method: 'post'
        })
    },
    
    updateAboutUsShow(brief) {
        return request({
            url: `/briefIntroduction/update`,
            method: 'post',
            data: brief
        })
    },
    
    getLogListPage(selectLogData) {
        return request({
            url: `/logAction/select`,
            method: 'post',
            data: selectLogData
        })
    },
    
    getEmplNamePage(page,limit) {
        return request({
            url: `/customer/selectAll`,
            method: 'post',
            data:{
                "page":page,
                "limit":limit
            }
        })
    },
}